package Homework10.Review;

public class NorEmployee extends Employee{
    public NorEmployee(String name, int age){
        super(name, age);
    }
    //特有方法
    public void work(){
        System.out.println("普通员工" +getName() + "正在工作");
    }
    //重写年工资方法
    @Override
    public double getAnnual() {
        System.out.print("普通员工年工资：");
        return super.getAnnual();
    }
}
